package com.lc.lcapiclientsdk;

import com.lc.lcapiclientsdk.client.LcApiClient;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * 功能：
 * 作者：lc
 * 日期：2024/10/14 11:27
 */
@Configuration
@ConfigurationProperties("lcapi.client")
@Data
@ComponentScan
public class LcApiClientConfig {
    private String accessKey;
    private String secretKey;

    @Bean
    public LcApiClient lcApiClient(){
        return new LcApiClient(accessKey,secretKey);
    }


}
